package jsyf.oa.facade.system;

import com.alibaba.dubbo.rpc.protocol.rest.support.ContentType;
import com.alibaba.fastjson.JSONObject;

import javax.ws.rs.Consumes;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import java.util.List;

/**
 * Created by Administrator on 2018/8/2 0002.
 */
@Path("/bigAchievementsService")
@Consumes({MediaType.APPLICATION_JSON, MediaType.TEXT_XML})
@Produces({ContentType.APPLICATION_JSON_UTF_8, ContentType.TEXT_XML_UTF_8})
public interface BigAchievementsFacade {
    @Path("/save")
    String save(String jsonData);

    @Path("/delById")
    JSONObject delById(String jsonData);

    @Path("/removeById")
    JSONObject removeById(String jsonData);

    @Path("/getListByBigAreaId")
    JSONObject getListByBigAreaId(String jsonData);

    @Path("/getPeopleFineByCompanyId")
    JSONObject getPeopleFineByCompanyId(String jsonData);

    @Path("/getBigRegionTargetBycompanyId")
    JSONObject getBigRegionTargetBycompanyId(String departName,String companyId);

    @Path("/getForGroupVacantAndFine")
    JSONObject getForGroupVacantAndFine(String jsonData);

    @Path("/getRoleChangeDate")
    JSONObject getRoleChangeDate(String jsonData);

    @Path("/getDownByCondition")
    List<JSONObject> getDownByCondition(String companyId,String day);

}
